package com.example.javadesign.adapter.general.objectadapter;

/**
 * @author 陳樂
 * @version 1.0.0
 * @ClassName Adapter.java
 * @Description TODO
 * @createTime 2022年09月04日 23:21:00
 */
public class Adapter implements Target {

    private Adaptee adaptee;

    public Adapter(Adaptee adaptee) {
        this.adaptee = adaptee;
    }

    public int request() {
        return adaptee.specificRequest() / 10;
    }

}
